package com.ruoyi.scientific.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.core.domain.Entity;

/**
 * 科学可视化对象 mg_scientific
 * 
 * @author 王强
 * @date 2024-01-20
 */
public class Scientific extends Entity implements ITimeEntity<Long>
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 封面图 */
    @Excel(name = "封面图")
    private String bannerPic;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 0, 不启用; 1,启用 */
    @Excel(name = "0, 不启用; 1,启用")
    private Integer enabled;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String content;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setBannerPic(String bannerPic) 
    {
        this.bannerPic = bannerPic;
    }

    public String getBannerPic() 
    {
        return bannerPic;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setEnabled(Integer enabled) 
    {
        this.enabled = enabled;
    }

    public Integer getEnabled() 
    {
        return enabled;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bannerPic", getBannerPic())
            .append("title", getTitle())
            .append("enabled", getEnabled())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
